Better HN
topnewbestaskshowjobs
Log inSign up

granthamctaylor

3 karma · joined May 5, 2026 (6mo ago) · 9 submissions

Submissions

comment 6d ago · link · parent

Thank you for the transparency!

comment 1w ago · link · parent

Thank you for your comment here: you are proving a very valuable point...

Relbench is a bad benchmark. They say so on their own site:

> The RelBench leaderboard uses self-reported prediction files, so we rely on the authors to submit in good faith. Submissions must follow the rules.

> For a more controlled and transparent evaluation on RelBench tasks, please see RelArena.

Relbench result publications can _easily_ be rigged:

- Data Leakage

- Self Reported predictions

- Overfit directly to test data with "impractical" solutions (a million handcrafted features)

RelArena requires reproducible solutions, prevents hand crafted features, prevents data leakage in the close model runtime, prevents arbitrary hyperparameters per task.

Relbench is basically "trust me bro"

comment 1w ago · link · parent

Woah, now that is extremely impressive.

I think Kapso could be used as an _incredible_ resource to AB test internal architectural changes to complex models with many moving parts ...

comment 1w ago · link · parent

Thank you for sharing!

I can appreciate surpassing foundation models in RelBench, but I’ve found that peers in our space strongly prefer RelArena because it reruns submitted implementations under shared evaluation protocols. IMHO Prior Labs does a great job of providing a controlled and transparent environment.

In RelBench, hypothetically, a solution could mine for days, weeks, or months for specialized, handcrafted features. I’d would be extremely interested in how the cumulative cost of that exhaustive search scales to new, enterprise-scale databases.

As per the leaderboards you reference: "The RelBench leaderboard uses self-reported prediction files, so we rely on the authors to submit in good faith ... For a more controlled and transparent evaluation on RelBench tasks, please see RelArena".

I would love to see Kapso’s performance in a controlled environment like RelArena, to understand how this approach compares with Relflow and other relational learning methods in an apples-to-apples comparison!

comment 1w ago · link · parent

Over at https://relflow.ai (an OSS model factory) used Kapso to help harness an HPO loop on RelArena. RelArena is like RelBench, but is maintained and regulated by Prior Labs to isolate data leakage that can taint modern benchmarks.

Kapso was able to efficiently calibrate Relflow's hyperparameters on 21 structured data modeling tasks, and we were able to outperform TabPFN on the majority of the larger data modeling tasks despite not using any ICL, and using ~1% of the number of params of TabPFN.

6.

Show HN: Json2vec – build/train/deploy models with nested data structures(github.com ↗)

3 points · by granthamctaylor · 5mo ago · discuss

comment 6mo ago · link · parent

I have been quietly working for the last three years: a novel hierarchical and extensible modeling framework that can cleanly and efficiently embed any json-like object for any predictive modeling task with zero feature engineering.

json2vec enables users to, for example, build tabular / transactional foundation models like TabBERT / PRAGMA dynamically... by just declaring their data schema. This is a space in which Netflix, Stripe, Revolut, Capital One, Nubank, J.P. Morgan, NVIDIA, etc. have been developing for several years.

json2vec goes a step further from just tabular data or structured transactional data. It enables arbitrary structured "json-like" observations with hierarchical BERT-like transformer encoder blocks. Financial transactions, chess positions, flight itineraries, raw tabular data, rideshare activity, ecommerce, behavioral sequence models... Any raw data able to be represented in `json` can be encoded into a tree of embeddings, and used for downstream finetuning for supervised machine learning... No feature engineering required.

https://github.com/granthamtaylor/json2vec

json2vec supports extensible plugin support for new data types (numbers, categories, raw text, datetimes, hashable objects [think: IP addresses and phone numbers], and raw embeddings), all of which may be pretrained via MLM-like self-supervised learning. If your needs are not met with the built-in datatypes, the framework is extensible in that you may build your own custom datatypes (think: geographical coordinates). Built in decision heads for a subset of datatypes enable predictive modeling multi-task and multi-array outputs (predicting fraud at a per-transaction level, or a per-account level).

json2vec also enables built in data pipelines for 100b+ training observations streaming from cloud storage. These pipelines integrate with layer of programmatic data querying and UDFs can consume the vast majority of upstream data processing so that developers don't waste time on massive batch data preprocessing jobs before model training.

Oh, and the best part: the model architectures instantiated by json2vec are mutable. Model developers can add and remove features and targets at their whim - allowing for truly reusable foundation models that can adapt for each individual use case.

My hope is that with a standardized hierarchical modeling framework, interested organizations can better collaborate with one by sharing reusable logic with one another instead of hardcoding use-case-specific architecture.

comment 6mo ago · link · parent

Yes … config-as-code for orchestration is a mess. A DSL is just kicking the can down the road. Synchronous orchestration is good but you’ll need a lot of utility functions for fan-outs and the like. It is helpful to utilize both synchronous and asynchronous code. It is very difficult to do well. I contributed to Flyte V2 OSS which does a fairly pleasant job.