Repository navigation
Conversation
RustMLPClassifier trains the FDR network and its quantile feature transform
in alphadia-search-rs: the same layers, loss, optimizer and batching as the
torch classifier, without batch norm and dropout. The new fdr.classifier_backend
setting selects it ("rust", default) or the torch classifier ("torch").
Requires alphadia-search-rs 1.10.0 (fdr_quantile_fit/transform, fdr_mlp_fit/predict).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
RustMLPClassifier gets configure_training (lr_schedule, weight_averaging) like the torch classifier, so fdr.lr_schedule and fdr.weight_averaging now reach the default (rust) classifier instead of being ignored. Needs alphadia-search-rs cfc4886. Co-Authored-By: Claude Opus 5.5 <[email protected]>
RustMLPClassifier gets input_batch_norm (a BatchNorm1d on the input, as the torch classifier) and mid_rank_ties (quantile transform that maps ties at the outer quantiles to the middle of their group instead of sklearn's clamp to about -5.2 / +5.2). Both are part of the state dict, as they define the parameter layout and the input the network was trained on. Off by default for now. Needs alphadia-search-rs d509cd2. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Offline on final-round features (2 seeds each, IDs at 1 % FDR vs the torch classifier with the same smoothing): HeLa 2.25 min +1.5 %, HeLa 3.9 min +0.3 %, Astral 15 min +1.6 %; the clamped transform was -4.2 / -5.2 / -0.8 %. The input batch norm adds nothing on average on top of it and costs ~30 % fit time, so it stays off. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RustMLPClassifiertrains the FDR network and its quantile feature transform in alphadia-search-rs. It uses the same layers, loss, optimizer and batching as the torch classifier, without batch norm and dropout.fdr.classifier_backendselects the classifier:rust(default) ortorch.fdr.lr_scheduleandfdr.weight_averagingalso apply to the Rust classifier.input_batch_normandmid_rank_ties. Both are part of the state dict, because they define the parameter layout and the input that the network was trained on.Results
Offline, on final-round features (2 seeds each), IDs at 1 % FDR compared with the torch classifier with the same smoothing:
On average, the input batch norm gives no improvement on top of mid-ranked ties, and it adds approximately 30 % to the fit time. Thus it stays off.
Plan to split
This PR stays open as the full reference. It will be split into these stacked PRs, together with MannLabs/alphadia-search-rs#197, and then closed. Each alphadia PR needs the alphadia-search-rs release of the same slice.
fdr_quantile_fitandfdr_quantile_transformRustMLPClassifierandfdr.classifier_backend. The default staystorch.fdr_mlp_fit,fdr_mlp_predictandfdr_mlp_backendswith the portable kernelsfdr.lr_schedule,fdr.weight_averaging,input_batch_normandmid_rank_tiesgo to the Rust classifierrustbackend and mid-ranked ties by default, with the results aboveNotes
alphadia-search-rsrequirement must be increased to the release that contains it.main. The branch earlier contained merges ofcalib-selection-cutoff. Those commits are not part of this PR. They are still on thecalib-selection-cutoffbranch.🤖 Generated with Claude Code
https://claude.ai/code/session_01VqZ5AFp4mT3xvu38DAe66Q