Expander Framework for Generating High-Dimensional GLM Gradient and Hessian from Low-Dimensional Base Distributions: R Package RegressionFactory
Alireza S. Mahani, Mansour T.A. Sharabiani

TL;DR
The paper introduces the RegressionFactory R package, which efficiently constructs high-dimensional GLM derivatives from low-dimensional base distributions, enabling faster computation and new model development.
Contribution
It presents a modular, derivative-based framework for generating GLM gradients and Hessians from base distributions, facilitating research and model innovation.
Findings
Provides a fast method for derivative construction using low-dimensional base derivatives
Includes a definiteness-invariance theorem for Hessian analysis
Enables development of generic optimization and sampling techniques
Abstract
The R package RegressionFactory provides expander functions for constructing the high-dimensional gradient vector and Hessian matrix of the log-likelihood function for generalized linear models (GLMs), from the lower-dimensional base-distribution derivatives. The software follows a modular implementation using the chain rule of derivatives. Such modularity offers a clear separation of case-specific components (base distribution functional form and link functions) from common steps (e.g., matrix algebra operations needed for expansion) in calculating log-likelihood derivatives. In doing so, RegressionFactory offers several advantages: 1) It provides a fast and convenient method for constructing log-likelihood and its derivatives by requiring only the low-dimensional, base-distribution derivatives, 2) The accompanying definiteness-invariance theorem allows researchers to reason about the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGaussian Processes and Bayesian Inference · Markov Chains and Monte Carlo Methods · Bayesian Methods and Mixture Models
