Skip to content

Fix/senkin fit walltime - #70

Merged
VladimirShitov merged 7 commits into
mainfrom
fix/senkin-fit-walltime
Sep 23, 2026
Merged

VladimirShitov merged 7 commits into
mainfrom
fix/senkin-fit-walltime

Conversation

@VladimirShitov

@VladimirShitov VladimirShitov commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Improve senkin_tmp model scalability

In the previous version, senkin_tmp model largely failed because of the time limit. This PR reduces the number of epochs and increases learning rate to train the models faster

Checklist before requesting a review

  • I have performed a self-review of my code

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Bug fixes
  • Proposed changes are described in the CHANGELOG.md

  • CI Tests succeed and look good!

VladimirShitov and others added 7 commits September 20, 2026 15:07
New arguments --lgbm_learning_rate, --lgbm_n_folds, --lgbm_max_bin and
--lgbm_n_jobs (worker processes over protein targets, from the library's
train_lightgbm_kfold). The network fold count (--n_folds) is now separate
from the LightGBM one. Defaults unchanged for now.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…placed by main after the library release)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ed with --no-deps)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…rker budget

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
learning rate 0.1, at most 200 rounds with early stopping 20, 3 LightGBM
folds (networks keep 5), 63 histogram bins, one worker per CPU within the
allocated memory. Measured on the NeurIPS 2021/2022 CITE datasets: the
LightGBM stage keeps its per-target quality within 0.003 of a 1000-round
run, and the final predictions are unchanged compared with 300 rounds and
5 folds (2021: Pearson per cell 0.822 either way).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…n the library

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
200 rounds barely cut the time on the 2022 data (early stopping already
ends most models around 170 rounds); 100 rounds keep the final predictions
unchanged and leave a safe margin under the 8 h limit.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

@benjaminfreyuu benjaminfreyuu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I trust that the stated maintenance of performance/results is true. Then approve

Maximum LightGBM boosting rounds (early stopping applies). The original solution used up to
10000 rounds at learning rate 0.01, which takes days on the benchmark datasets. At learning
rate 0.1, 100 rounds keep the LightGBM per-target quality within 0.015 (NeurIPS 2021) / 0.003
(NeurIPS 2022) of 300 rounds, and the final predictions of the networks are unchanged.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trust you on this

"n_folds": 5,
"lgbm_boost_rounds": 10000,
"lgbm_early_stopping": 100,
"lgbm_n_folds": 3,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why decrease nr of folds? Also due to time constraints?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, exactly

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Results were comparable anyway

"nn_epochs": 100,
"n_tsvd_components": 100,
"lgbm_learning_rate": 0.1,
"lgbm_max_bin": 63,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this param. keep results unchanged? It is stated as such above, so trusting this

@VladimirShitov
VladimirShitov merged commit 50d6ecf into main Sep 23, 2026
3 checks passed
@VladimirShitov
VladimirShitov deleted the fix/senkin-fit-walltime branch September 23, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants