Skip to content

Discrepancy between paper and code: additional output layer for enrichment odds #1

Description

@vpwang

Hi,

I'm reproducing the results from Her et al. 2026 and noticed a potential discrepancy between the paper and the code.

Paper description:

"we extended RBPNet with an additional output layer that predicts the enrichment odds ratio"

Current implementation in RBPNet.py:

d_log_odds = self.dlogodds_bn(
    torch.sum(x_signal[:, self.mask:-self.mask-1], dim=-1).unsqueeze(dim=-1)
).squeeze()

d_log_odds is derived from x_signal (f_target) rather than from a dedicated layer from the bottleneck.

I have a higher crosslinking correlation and a lower enrichment correlation than in the paper. This pattern is consistent with the ablation study in the paper, suggesting the current code may correspond to the version without the additional output layer

Could you clarify whether the current d_log_odds computation is the intended implementation, or if there is a dedicated layer from the bottleneck that matches the paper's reported metrics?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions