The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
recipe: string
dataset: string
encoder: string
max_len: int64
lr: double
batch_size: int64
epochs: int64
pos_weight: double
val_size: double
llrd_decay: double
ema_decay: double
tau: double
fp16: bool
tag: string
asl_clip: double
swa_start_fraction: double
asl_gamma_pos: int64
asl_gamma_neg: int64
min_positives_per_class: int64
to
{'recipe': Value('string'), 'dataset': Value('string'), 'tag': Value('string'), 'encoder': Value('string'), 'max_len': Value('int64'), 'lr': Value('float64'), 'batch_size': Value('int64'), 'epochs': Value('int64'), 'val_size': Value('float64'), 'asl_gamma_neg': Value('int64'), 'asl_gamma_pos': Value('int64'), 'asl_clip': Value('float64'), 'swa_start_fraction': Value('float64'), 'min_positives_per_class': Value('int64'), 'llrd_decay': Value('float64'), 'ema_decay': Value('float64'), 'fp16': Value('bool')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
recipe: string
dataset: string
encoder: string
max_len: int64
lr: double
batch_size: int64
epochs: int64
pos_weight: double
val_size: double
llrd_decay: double
ema_decay: double
tau: double
fp16: bool
tag: string
asl_clip: double
swa_start_fraction: double
asl_gamma_pos: int64
asl_gamma_neg: int64
min_positives_per_class: int64
to
{'recipe': Value('string'), 'dataset': Value('string'), 'tag': Value('string'), 'encoder': Value('string'), 'max_len': Value('int64'), 'lr': Value('float64'), 'batch_size': Value('int64'), 'epochs': Value('int64'), 'val_size': Value('float64'), 'asl_gamma_neg': Value('int64'), 'asl_gamma_pos': Value('int64'), 'asl_clip': Value('float64'), 'swa_start_fraction': Value('float64'), 'min_positives_per_class': Value('int64'), 'llrd_decay': Value('float64'), 'ema_decay': Value('float64'), 'fp16': Value('bool')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
CASSANDRA β evaluation artifacts
Everything needed to recompute every number in the CASSANDRA paper without a GPU and without retraining: the per-sentence model outputs from all preserved training campaigns, the configuration and score records that accompany them, the measured deployment costs, the frozen protocols, and the analysis code.
Report-level F1 in this work is a deterministic function of the per-sentence probability matrix, the decision threshold, and the report boundaries. All three are released here, so an evaluator can reproduce the tables exactly rather than approximately.
verify_headline.py regenerates the paper's headline numbers; numpy only
predictions/
release/ 15 runs probabilities + train_config.json + eval.json
ablation/ 48 runs controlled matrix A0-A4, A6, A7 across both benchmarks, 3 seeds each
baselines/ 18 runs matched CySecBERT comparison (A0/A6/A7)
*_results.json per-campaign configuration and score records
deployment/ measured cost at every checkpoint count, exhaustive subset analysis
protocols/ preregistration and frozen decision documents
code/ analysis and training scripts
llama_controlled/ frozen protocol, scores, and generation manifests with SHA-256
MANIFEST.sha256 checksum of every released file
Quick start
pip install numpy
python verify_headline.py
Reproduces, from the released predictions alone:
| Claim | Source |
|---|---|
| TRAM2 76.70, three checkpoints, fixed Ο = 0.50 | predictions/release/asl-tram2-orig-seed-{42,123,456} |
| TRAM2 76.91, six checkpoints, fixed Ο = 0.50 | above plus asl-tram2-repl-seed-{789,2024,3141} |
| TRAM2 77.43, six checkpoints, dev-selected Ο = 0.63 | same six |
| AnnoCTR 65.48, three checkpoints, fixed Ο = 0.50 | predictions/ablation/A6-annoctr-seed-{42,123,456} |
It also prints the full subset curve over all 63 non-empty subsets of the six TRAM2 checkpoints, with precision and recall separated at each checkpoint count.
What the predictions contain
Each seed_probs.npz holds:
| key | meaning |
|---|---|
test_probs |
[n_sentences, n_labels] sigmoid probabilities on the test split |
test_labels |
ground-truth sentence-level labels, same shape |
test_nper |
sentences per test report, defining report boundaries |
test_titles |
report identifiers |
dev_probs, dev_labels |
the same on the development split, for threshold selection |
Report prediction is the union of thresholded sentence predictions within a report; report F1 is macro-averaged over reports that have at least one in-vocabulary ground-truth technique.
An important limitation of this release
The controlled ablation campaigns (predictions/ablation/, predictions/baselines/) were run
with checkpoint saving disabled, so their weights were never written to disk and no longer
exist. Those campaigns are released as predictions only. This affects the AnnoCTR headline
(65.48), which comes from the A6 campaign.
We state this rather than obscure it. The consequence is precise: every reported number remains
exactly verifiable from the released probability matrices, but the historical AnnoCTR models
cannot be reloaded and re-run. Deployable weights for the TRAM2 recommended system are released
separately (see below), and a frozen re-run of the A6 AnnoCTR configuration β reported as an
independent replication, not as a recovery of the historical checkpoints β is provided under its
own name. The protocol and code for that replication are in code/replicate_a6_annoctr.py and
code/verify_a6_replication.py.
Campaign map
predictions/ablation/ holds the controlled matrix. All rows use CTI-BERT, three seeds
{42, 123, 456}, 30 epochs, no early stopping, and Ο = 0.50:
| Row | Head | LLRD | EMA | Ensemble | Loss |
|---|---|---|---|---|---|
| A0 | linear | β | β | β | BCE |
| A1 | label-aware | β | β | β | BCE |
| A2 | label-aware | β | β | β | BCE |
| A3 | label-aware | β | β | β | BCE |
| A4 | label-aware | β | β | β | BCE |
| A6 | label-aware | β | β | β | BCE |
| A7 | label-aware | β | β | β | ASL |
predictions/baselines/ repeats A0/A6/A7 with the CySecBERT encoder under identical downstream
protocols, which is the matched encoder comparison. Both sides of that comparison come from the
same campaign; they are paired and should stay paired.
predictions/release/ holds the separately trained release campaigns, including the six ASL
TRAM2 checkpoints whose weights are published.
Preserved negative results
Two findings in this work are negative, and the evidence for both is included.
No benchmark-independent recipe. Asymmetric loss is favourable on the denser TRAM2 benchmark
and significantly harmful on the sparser AnnoCTR benchmark. We preregistered the natural
explanation β that AnnoCTR simply has fewer positive examples per technique β and tested it with
300 training runs that reduced TRAM2's label support to AnnoCTR's level. The preregistered
decision rule required two conditions and neither was met. The preregistration is in
protocols/PREREGISTRATION_support_experiment.md; the corrected estimands are in
deployment/. We therefore do not offer label density as a loss-selection rule.
Run-to-run nondeterminism is large. Two campaigns of the identical recipe with identical seeds (A5 and A6) differ by 1.8β2.5 F1. Single-campaign results in this domain carry roughly that much run-level uncertainty in addition to their bootstrap intervals.
Controlled generative baseline
llama_controlled/ documents the re-evaluation of the released Llama-3.1-8B checkpoint under our
protocol on identical reports, including the frozen decision document, the scoring output, and
SHA-256 manifests over the archived raw generations. It records both the published reference value
and what the released artifact produces under a fully specified protocol, together with the
discrepancy between them and its likely cause.
Related repository
cassandra-usenix-asl-tram2β the six TRAM2 checkpoints with deployable weights, inference code, and its own verification script.
Citation
Paper under anonymous review; citation will be added on acceptance.
- Downloads last month
- 34