Metraipolis › archive › dc_b45383a705da

TorchDCM: A Unified PyTorch-Native Package for Discrete Choice Modeling — arXiv:2608.19231

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.19231
License (as archived)
CC0-1.0
Archived
2026-10-18T11:48:31.743Z
SHA-256 of the archived text
4a2959f2437c0568631370dadbe22a2782a3647e96eceaa742138529b49f1fcf
Stable URL of this page
https://metraipolis.com/documento/dc_b45383a705da

How to cite

TorchDCM: A Unified PyTorch-Native Package for Discrete Choice Modeling — arXiv:2608.19231 — arXiv (en), https://arxiv.org/abs/2608.19231 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b45383a705da (Metraipolis archive dc_b45383a705da, sha256 4a2959f2437c0568631370dadbe22a2782a3647e96eceaa742138529b49f1fcf)
BibTeX
@misc{dcb45383a705da,
  title = {TorchDCM: A Unified PyTorch-Native Package for Discrete Choice Modeling — arXiv:2608.19231},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.19231},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b45383a705da; sha256 4a2959f2437c0568631370dadbe22a2782a3647e96eceaa742138529b49f1fcf},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.19231. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Estimating large and simulation-intensive discrete choice models (DCMs) requires repeated evaluation of utilities, probabilities, derivatives, and simulated likelihoods over many observations, alternatives, and draws. Existing DCM software provides mature econometric workflows, while recent GPU-oriented tools accelerate selected models, leaving a gap between econometric coverage and scalable differentiable computation. We introduce TorchDCM, an open Python package for discrete choice modeling that compiles choice data and model specifications into a unified PyTorch-native likelihood engine for estimation, inference, prediction, and structured reporting on CPU or CUDA devices. The package covers the principal econometric functionality available across Biogeme and Apollo, including multinomial, nested, mixed, ordered, latent-variable, and panel likelihoods. It also supports ragged choice sets, constrained parameters, covariance estimation, willingness-to-pay analysis, elasticities, and extensible likelihood components. We evaluate TorchDCM against seven other estimation packages in aligned synthetic and real-data full-estimation experiments. TorchDCM completes all 45 synthetic cases, runs fastest in every comparable synthetic case, and satisfies the prespecified final-log-likelihood tolerance in every comparison with at least two comparable solutions. More precisely, it reduces median runtime by 89.1%-99.7% relative to Biogeme and Apollo across model-data settings. CUDA provides an additional 12.0-71.0x speedup over single-core TorchDCM. These results establish a scalable and reproducible foundation for econometric estimation and differentiable choice-model development. The open-source package and executed examples are available at this https URL .

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-21 in cs.LG).
Categorie arXiv: Machine Learning (stat.ML) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2608.19231 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T11:47:43.350Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-08-21?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).