Skip to main content
QUICK REVIEW

[Paper Review] Learning Structure in Nested Logit Models

Youssef M Aboutaleb, Moshe Ben‐Akiva|arXiv (Cornell University)|Aug 18, 2020
Machine Learning and AlgorithmsComputer Science33 references4 citations
TL;DR

This paper proposes a data-driven optimization framework to learn the optimal nesting structure in nested logit models using mixed-integer nonlinear programming (MINLP), leveraging tree-structured search and outer approximation to identify the best-fitting hierarchy of alternatives. The method successfully recovers true structures in synthetic data and outperforms intuition-based models in empirical transportation choice data, yielding a more accurate and statistically robust model than conventional approaches.

ABSTRACT

This paper introduces a new data-driven methodology for nested logit structure discovery. Nested logit models allow the modeling of positive correlations between the error terms of the utility specifications of the different alternatives in a discrete choice scenario through the specification of a nesting structure. Current nested logit model estimation practices require an a priori specification of a nesting structure by the modeler. In this we work we optimize over all possible specifications of the nested logit model that are consistent with rational utility maximization. We formulate the problem of learning an optimal nesting structure from the data as a mixed integer nonlinear programming (MINLP) optimization problem and solve it using a variant of the linear outer approximation algorithm. We exploit the tree structure of the problem and utilize the latest advances in integer optimization to bring practical tractability to the optimization problem we introduce. We demonstrate the ability of our algorithm to correctly recover the true nesting structure from synthetic data in a Monte Carlo experiment. In an empirical illustration using a stated preference survey on modes of transportation in the U.S. state of Massachusetts, we use our algorithm to obtain an optimal nesting tree representing the correlations between the unobserved effects of the different travel mode choices. We provide our implementation as a customizable and open-source code base written in the Julia programming language.

Motivation & Objective

  • To address the lack of systematic methods for selecting optimal nesting structures in nested logit models, which are typically chosen via subjective or ad hoc domain reasoning.
  • To develop a data-driven approach that jointly optimizes the nesting tree structure and model parameters under utility maximization constraints.
  • To overcome the computational intractability of searching over all possible nesting structures by exploiting tree structure and advanced integer optimization techniques.
  • To provide a practical, open-source implementation in Julia for researchers and practitioners to apply the method to real-world discrete choice data.
  • To demonstrate that data-learned structures outperform intuition-based nesting configurations in empirical settings.

Proposed method

  • Formulates the nested logit structure learning problem (NLSLP) as a mixed-integer nonlinear programming (MINLP) problem over all valid nesting tree structures.
  • Uses a variant of the linear outer approximation algorithm to solve the MINLP, enabling convergence to a globally optimal solution.
  • Leverages the hierarchical tree structure of nesting to decompose the problem and apply lazy constraint generation for computational efficiency.
  • Employs state-of-the-art mixed-integer optimization solvers to handle the combinatorial complexity of tree enumeration.
  • Introduces regularization via parameters M and L to control model complexity and prevent overfitting during training.
  • Validates the algorithm using a Monte Carlo experiment on synthetic data and applies it to a stated preference survey on travel mode choice in Massachusetts.

Experimental results

Research questions

  • RQ1Can a data-driven optimization framework reliably recover the true nesting structure in nested logit models from synthetic data?
  • RQ2How does the performance of a data-learned nesting structure compare to intuition-based nesting configurations in real-world discrete choice applications?
  • RQ3To what extent does the optimal nesting structure depend on the systematic utility specification in the model?
  • RQ4Can the proposed MINLP-based approach scale to practical problem sizes while maintaining computational tractability?
  • RQ5Does the learned structure reveal meaningful behavioral groupings of alternatives, such as 'active' or 'traditional' travel modes?

Key findings

  • The algorithm successfully recovered the true nesting structure in 100% of Monte Carlo trials on synthetic data, demonstrating high accuracy in structure discovery.
  • On the empirical Massachusetts travel mode dataset, the learned model achieved a significantly better fit than both the multinomial logit and two intuition-based nested logit models (Model A and Model B).
  • The optimal nesting tree identified four nests and five nesting levels, with the final simplified structure grouping walk and bike as 'Active' modes within a broader 'Traditional' modes nest.
  • Statistical tests showed that the scale parameter for nest n₁ (1.215) was not significantly different from the root node (normalized to 1), allowing it to be collapsed into the root, simplifying the model.
  • Similarly, nest n₃ was not statistically distinct from n₂, leading to its collapse into n₂, further simplifying the final tree structure.
  • The final model revealed that travelers are most sensitive to walk and bike travel times, and that transit passes and CBD trips significantly increase the likelihood of choosing transit or biking over driving.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.